package com.zjhn.ds.domain.dto.mt;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.domain.dto.app
 * @Author: sxt
 * @CreateTime: 2023-10-10  11:20
 * @Description:
 * @Version: 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class QueueTaskDto {

    @ApiModelProperty("派工id")
    @JsonProperty("assign_task_id")
    private String assignTaskId;

    @ApiModelProperty("生产单明细id")
    @JsonProperty("pro_task_detail_id")
    private String proTaskDetailId;

    @ApiModelProperty("刷卡id")
    @JsonProperty("swipe_card_id")
    private String swipeCardId;

    @ApiModelProperty("生产单code")
    @JsonProperty("pro_task_code")
    private String proTaskCode;

    @ApiModelProperty("派工数量")
    @JsonProperty("assign_qty")
    private BigDecimal assignQty;

    @ApiModelProperty("完成数量")
    @JsonProperty("complete_qty")
    private BigDecimal completeQty;

    @ApiModelProperty("货号/款号")
    @JsonProperty("style_code")
    private String styleCode;

    @ApiModelProperty("花型")
    @JsonProperty("color_name")
    private String colorName;

    @ApiModelProperty("针型")
    @JsonProperty("needle_code")
    private String needleCode;

    @ApiModelProperty("颜色")
    @JsonProperty("color_main")
    private String colorMain;

    @ApiModelProperty("尺码")
    private String size;

    @ApiModelProperty("预计完成天数")
    @JsonProperty("finish_day")
    private Integer finishDay;

    @ApiModelProperty("派工时间")
    @JsonProperty("assign_time")
    private String assignTime;

    @ApiModelProperty("是否当前任务")
    private Integer current;
}
